77701cb5e59025b6454b825dfc95228b18ca0761,samples/robot_Kaja/languages/KajaSceneConstruction/source_gen/jetbrains/mps/samples/KajaSceneConstruction/editor/PickMark_Editor.java,PickMark_Editor,createConceptProperty_2plc7z_a0,#EditorContext#SNode#,35

Before Change



  private EditorCell createConceptProperty_2plc7z_a0(EditorContext editorContext, SNode node) {
    CellProviderWithRole provider = new ConceptPropertyCellProvider(node, editorContext);
    provider.setRole("alias");
    provider.setNoTargetText("<no alias>");
    EditorCell editorCell;
    editorCell = provider.createEditorCell(editorContext);
    editorCell.setCellId("conceptProperty_alias");
    editorCell.setSubstituteInfo(provider.createDefaultSubstituteInfo());
    SNode attributeConcept = provider.getRoleAttribute();
    Class attributeKind = provider.getRoleAttributeClass();
    if (attributeConcept != null) {
      IOperationContext opContext = editorContext.getOperationContext();
      EditorManager manager = EditorManager.getInstanceFromContext(opContext);
      return manager.createRoleAttributeCell(editorContext, attributeConcept, attributeKind, editorCell);
    } else
    return editorCell;
  }
}

After Change



  private EditorCell createComponent_2plc7z_a0(EditorContext editorContext, SNode node) {
    AbstractCellProvider provider = new AliasEditorComponent(node);
    EditorCell editorCell = provider.createEditorCell(editorContext);
    Style style = new StyleImpl();
    KajakStyles_StyleSheet.applyCommand(style, editorCell);
    editorCell.getStyle().putAll(style);
    return editorCell;
  }

  private EditorCell createComponent_2plc7z_b0(EditorContext editorContext, SNode node) {